package com.david.config;

/**
 * @description: 自定义异常类型
 * @create: 2021-05-03-16-47
 * @author: David
 **/
public class MyException extends RuntimeException{

    private String message;

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public MyException(String message) {
        this.message = message;
    }

}
